//
//  SearchHDCell.m
//  HiCar
//
//  Created by huachun on 2019/4/28.
//  Copyright © 2019 丁一. All rights reserved.
//

#import "SearchHDCell.h"

@implementation SearchHDCell

+ (instancetype)cellForTableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    static NSString *ID = @"SearchHDCell";
    SearchHDCell  *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    if (!cell){
        cell=[[SearchHDCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:ID];
        [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
        cell.backgroundColor=[UIColor whiteColor];
        tableView.keyboardDismissMode = UIScrollViewKeyboardDismissModeOnDrag;
        cell.accessoryType = UITableViewCellAccessoryNone;
        
        [cell.contentView addSubview:cell.label_here];
    }
    
    return cell;
}

- (UILabel *)label_here{
    if (!_label_here) {
        _label_here = [[UILabel alloc] initWithFrame:CGRectMake(10, 0, RECRWITCH-20, 45)];
        _label_here.font = [UIFont systemFontOfSize:14];
        _label_here.textColor=NewsinfoColor;
        _label_here.font=[UIFont systemFontOfSize:15];
    }
    return _label_here;
}
@end
